package com.qf.service;

import com.qf.pojo.DtsAdmin;


import java.util.List;

public interface DtsAdminService {
    /**
     * 根据用户名查询用户集合
     * @param username
     * @return
     */
    public DtsAdmin findAdmin(String username);
    //查询所有管理员
    public List<DtsAdmin> findAll();
    public List<DtsAdmin> findAdmins(int page,int limit,String sort,String order,String username);
    public int count();


    void create(DtsAdmin admin, String add);
}
